package com.seanzx.resolver;

import com.seanzx.common.Result;
import com.seanzx.lexical.Token;

import java.util.List;

public interface IResolver<T> {

    boolean matches(List<Token> tokens);

    T translate(List<Token> tokens);

    boolean validate(Object parameter);

    Result access(Object parameter);
}
